package com.ybkj.daijia.server.model;


/**
 * 司机评分
 *
 * @author Shine
 */
public class Rate extends Base {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Long memberId;// 客户id

    private String memberPhone;// 客户手机号

    private String memberName;//客户姓名

    private Long driverId;// 司机id

    private String driverName;// 司机姓名

    private String title;// 标题

    private String content;// 内容

    private Float starLevel;//星级 评分

    private Long orderId;//订单id

    private String orderNumber;//订单号

    private boolean manager;//是否后台添加

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Long getDriverId() {
        return driverId;
    }

    public void setDriverId(Long driverId) {
        this.driverId = driverId;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Float getStarLevel() {
        if (null == starLevel) {
            return 0f;
        }
        return starLevel;
    }

    public void setStarLevel(Float starLevel) {
        this.starLevel = starLevel;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public boolean isManager() {
        return manager;
    }

    public void setManager(boolean manager) {
        this.manager = manager;
    }


}
